<div id="main_menu">
            <ul>
            
                <li class=""><a href="<?php echo site_url('home')?>">Trang chủ</a></li>
            {categories}
            <li class="{selected}"><a href="<?php echo site_url("{link_rewrite}")?>" rel="{link_rewrite}">{cname}</a></li>
            {/categories}
                
            <!-- 
            <li><a href="<?php echo site_url('vang')?>" rel="vang">Vàng</a></li>
                <li><a href="<?php echo site_url('kinh-te-viet-nam')?>" rel="kinh-te-viet-nam">Kinh tế Việt Nam</a></li>
                <li><a href="<?php echo site_url('kinh-te-the-gioi')?>" rel="kinh-te-the-gioi">Kinh tế thế giới</a></li>
                <li><a href="<?php echo site_url('ngoai-te')?>" rel="ngoai-te">Ngoại tệ</a></li>
                <li><a href="<?php echo site_url('chung-khoan')?>" rel="chung-khoan">Chứng khoán</a></li>
                <li><a href="<?php echo site_url('kien-thuc-thi-truong')?>" rel="kien-thuc-thi-truong">Kiến thức thị trường</a></li>
                <li><a href="<?php echo site_url('bat-dong-san')?>" rel="bat-dong-san">Bất động sản</a></li>
             -->    
                <li><a href="javascript:void(0);" class="last">Site map</a></li>			
            </ul>
        
            <!-- If you want to make it even simpler, you can append these html using jquery -->
            <div id="box"><div class="head"></div></div>
        
        </div>
    <div class="submenu">
        	<div id="search_box">
        	<form id="frmsearch" name="frmsearch" action="<?php echo site_url('search')?>" method="post">
            	<input type="text" id="keyword" name="keyword"  placeholder="Nhập nội dung tìm kiếm vào đây"/>
            	<!--input type="image" style="width:30px; height:25px; border:0px" src="<?php echo base_url('images/search_btn.png')?>"  -->
            	<a href="javascript:void(0);" onclick="$('#frmsearch').submit();" id="search_btn"><em>Tìm</em></a>
            </form>
            </div>
            {categories1}
            <ul id="{link_rewrite}" class="sub_menu">
            	{scategories}
         		<li><a href="{url}">{scname}</a></li>
            	{/scategories}
            </ul>
            {/categories1}
    </div>
   